package cn.bdqn.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 秒杀商品表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ItemKill {

    private Integer id;
    private Integer itemId;
    private Integer total;
    private Date startTime;
    private Date endTime;
    private Integer isActive;
    private Date createTime;

    //商品名称
    private String itemName;
    //判断当前商品是否能进行秒杀（在秒杀时间段，可秒杀的数量大于0）
    private Integer canKill;
}
